//
//  NBUserAccount.swift
//  NBSinaWeibo
//
//  Created by ac on 16/5/22.
//  Copyright © 2016年 ac. All rights reserved.
//

import UIKit

class NBUserAccount: NSObject {

    var access_token :String?
    var expires_in :NSTimeInterval = 0{
        didSet{
            expires_date = NSDate(timeIntervalSinceNow: expires_in)
        }
    }

    var expires_date :NSDate?
    var uid :String?
    var name :String?
    var avatar_large :String?
    
    init(dict:[String:AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    
}
